#region Using
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
#endregion Using

namespace PhotoGallery.Core.Providers.DALProvider
{
    public interface IAccountProvider
    {
        Business.Account Select(int id);
        void Update(Business.Account account);
        void Delete(Business.Account account);
        void Insert(Business.Account account);
        IList<Core.Business.Account> GetAllAccount();
        Business.AccountIndexModel Search(Business.AccountSearch packet);

        Business.Account FindByName(string name);

        Business.Account FindByName(string loginName, string password);
    }
}
